<script type="text/javascript">
    validaForm('formUsuario');
</script>
<div class="gridConteudo">
    {CHAMA_FUNCAO funcao="getCaminhoPastaBanco" classe="imprimiConteudo"}
    <form class="form-actions" name="formUsuario" id="formUsuario" action="{$URLEXECUTE}banco/executaPost.php{$PARAMS}" method="post" enctype="multipart/form-data">
        <legend>CADASTRO DE  USUARIO</legend>
        <div class="divForm">
            <input style="display:none" type="text" name="tabela" id="tabela" value="tb_usuario" />
            <input style="display:none" type="text" name="id" id="id" value="id_usuario" />
            <input style="display:none" type="text" name="url" id="url" value="{$URLATUAL}" />
            <div class="span12 offset0 divBotoesCima">
                <center>
                    <button class="btn btn-personalizado" type="submit">Salvar</button>
                    <button class="btn btn-personalizado" type="button" onclick="window.location = '{$CANCELA}'">Cancelar</button>
                </center>
            </div>

            <div class="span12 offset0"></div>
            {if $smarty.const.MSG}
                <div class="alert floatLeft width96percent {$smarty.const.TIPO_MSG}" align="center">
                    <button class="close" data-dismiss="alert" onClick="executaAjaxRetirandoGetMsg('$PARAM_FECHAR_MSG}')" type="button">x</button>
                    <strong>{$smarty.const.TITULO_MSG}</strong><br />
                    {$smarty.const.MSG}
                </div>
            {/if}

            <label class="label-xxlarge" for="nome_usuario">Nome:
                <input class="input-xxlarge" type="text" placeholder="Nome" name="nome_usuario" id="nome_usuario"  value="{$nome_usuario}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-medium" for="password_usuario">Senha:
                <input readonly="true" class="input-medium" type="text" placeholder="Senha" name="password_usuario" id="password_usuario"  value="{$password_usuario}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="email_usuario">Email:
                <input class="input-large" type="text" placeholder="Email" name="email_usuario" id="email_usuario"  value="{$email_usuario}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="id_grupo">Grupo Usuário:
                {CHAMA_FUNCAO funcao="getCombo" classe="imprimiConteudo" 
                         class="input-large" name="id_grupo" tabela="tb_grupo" order="descricao asc" 
                         campo="descricao" id="id_grupo" valor="$id_grupo"}
            </label>
            
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="id_usuario_cad">Usuario que Cadastrou:
                <input readonly="true" class="input-large" type="number" placeholder="Usuario que cadastrou" name="id_usuario_cad" id="id_usuario_cad"  value="{$id_usuario_cad}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="data_alteracao">Data Alteração:
                <input readonly="true" class="input-large" type="date" placeholder="Data Alteração" name="data_alteracao" id="data_alteracao"  value="{$data_alteracao}"/>
            </label>
            
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="email_opcional">Email Opcional:
                <input class="input-large" type="text" placeholder="Email Opcional" name="email_opcional" id="email_opcional"  value="{$email_opcional}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="telefone_1">Telefone:
                <input class="input-large" type="text" placeholder="Telefone" name="telefone_1" id="telefone_1"  value="{$telefone_1}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="telefone_2">Telefone Comercial:
                <input class="input-large" type="text" placeholder="Telefone Comercial" name="telefone_2" id="telefone_2"  value="{$telefone_2}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="fax">Fax:
                <input class="input-large" type="text" placeholder="Fax" name="fax" id="fax"  value="{$fax}"/>
            </label>
            <div class="span12 offset0 minHeight0"></div>
            <label class="label-large" for="celular">Celular:
                <input class="input-large" type="text" placeholder="Celular" name="celular" id="celular"  value="{$celular}"/>
            </label>


            <div class="span12 offset0 divBotoesBaixo">
                <center>
                    <button class="btn btn-personalizado" type="submit">Salvar</button>
                    <button class="btn btn-personalizado" type="button" onclick="window.location = '{$CANCELA}'">Cancelar</button>
                </center>
            </div>

        </div>
    </form>
</div>